package com.harzone.commons.search.domain;

import com.harzone.commons.search.visitor.FromVisitor;

public class From implements Cloneable{

	private String name;

	public From(String name) {
		super();
		this.name = name;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "From [name=" + name + "]";
	}
	
	public void accept(FromVisitor visitor) {
		visitor.visit(this);
	}
}
